﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace YodaMaster.Models
{
    public class Course
    {

        [Key]
        public int RecordID { get; set; }
         
        public string name { get; set; }
          
       
        public int number { get; set; }
        
        public double points { get; set; }
       
        public double lectureHours { get; set; }
     
        public double tutorialHours { get; set; }
      
        public double labHours { get; set; }
         
        public string lecturerInCharge { get; set; }
    
        public string faculty { get; set; }
        
        public DateTime moedA_start { get; set; }
      
        public DateTime moedB_start { get; set; }
      
        public DateTime moedA_end { get; set; }
         
        public DateTime moedB_end { get; set; }
      
        public string description { get; set; }
       
         
        public  List<TeachingGroup> lectureList { get; set; }
           
        public  List<TeachingGroup>  tutorialList { get; set; }
          
         
        public  List<TeachingGroup> labList { get; set; }

        public virtual ICollection<Enrollment> Enrollments { get; set; }
           
        public bool tests { get; set; }
    }
}